/*
 * @Author: shuai
 * @Date: 2023-02-15 10:03:17
 * @LastEditors: shuai
 * @LastEditTime: 2023-02-16 16:17:36
 * @Description: file content
 */
import { defineConfig } from 'vite'
import VueJsx from '@vitejs/plugin-vue-jsx'
import { SearchPlugin } from 'vitepress-plugin-search'

export default defineConfig({
  plugins: [
    VueJsx(),
    SearchPlugin({
      context: true,
      previewLength: 62,
      buttonLabel: 'Search',
      placeholder: 'Search docs'
    })
  ],
  server: {
    port: 3100
  }
})
